package com.yzq.authorization.server.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author: yangjie.deng@resico.cn
 * @since: 2024-01-29 11:16:24
 * @version: v1.0.0
 * @describe:
 */
@Configuration
public class WebMvcConfig implements WebMvcConfigurer {

  /*  @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("/login").setViewName("login");

        registry.setOrder(Ordered.HIGHEST_PRECEDENCE);
    }
*/

}
